package com.atlin.project.model.domain;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 语录数据统计分析
 *
 * @author atlin
 */
@Data
public class QuotationStatistics implements Serializable {

    /**
     * 数据总量
     */
    private Long total;

    /**
     * 今日数据量
     */
    private Long todayTotal;

    /**
     * 来源 统计 取最多的 top 3
     */
    private List<FromAddrStatistics> fromAddrTop;

    /**
     * 作者 统计 取最多 top 3
     */
    private List<FromWhoStatistics> fromWhoTop;

    @Data
    public static class FromAddrStatistics {
        private String fromAddr;
        private Long count;
    }

    @Data
    public static class FromWhoStatistics {
        private String fromWho;
        private Long count;
    }


    private static final long serialVersionUID = 1L;
}
